package com.cxx.admin.dto.blog;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class BlogVisitDto {
    @Schema(description = "访问ip")
    private String ip;

    @Schema(description = "访问系统")
    private String os;

    @Schema(description = "访问浏览器")
    private String browser;

    @Schema(description = "访问路径")
    private String uri;

    @Schema(description = "博客标题")
    private String title;

    @Schema(description = "访问时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date visitTime;
}
